Re: [SQL] Problem with array of char

Поиск
Список
Период
Сортировка
От Herouth Maoz
Тема Re: [SQL] Problem with array of char
Дата
Msg-id l03110703b19ffcf97ced@[147.233.159.109]
обсуждение исходный текст
Ответ на Problem with array of char  (Stephane MONEGER <moneger@NCTech.FR>)
Список pgsql-sql
At 11:07 +0300 on 4/6/98, Stephane MONEGER wrote:


> Do you have an idea? A solution? I have very large tables and char[][]
> is the only way I found to save values of 1 byte (as thin int are not
> supported by PostgreSQL).

I'm not sure if it's any help, but PostgreSQL has a built-in type called
"bytea", which is a variable-length array of bytes. Maybe you should play
around with it. I'm not sure how values are inserted to it - it seems to
behave very much like the text type.

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma



В списке pgsql-sql по дате отправления:

Предыдущее
От: Herouth Maoz
Дата:
Сообщение: Re: [SQL] problems with CAST :-{
Следующее
От: Christian Pomar Berry
Дата:
Сообщение: suscribe